package cn.myfirefly.moming.common.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.myfirefly.core.entity.BasePO;


@Entity
@Table(name = "mm_data_dict")
public class MMDataDict extends BasePO implements java.io.Serializable  {
    
	/**
	 * 
	 */
	private static final long serialVersionUID = -72520870131006615L;
	private Integer dataDictSn;
	private String dataType;
	private String dataShowType;
	private String dataShowName;
	private String dataValue;
	private String mark;
	
	public MMDataDict() {
	}
	
	public MMDataDict(Integer dataDictSn, String dataType, String dataShowType,
			String dataShowName, String dataValue, String mark) {
		super();
		this.dataDictSn = dataDictSn;
		this.dataType = dataType;
		this.dataShowType = dataShowType;
		this.dataShowName = dataShowName;
		this.dataValue = dataValue;
		this.mark = mark;
	}
	
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "data_dict_sn", unique = true, nullable = false)
	public Integer getDataDictSn() {
		return dataDictSn;
	}
	public void setDataDictSn(Integer dataDictSn) {
		this.dataDictSn = dataDictSn;
	}
	
	@Column(name = "data_type", nullable = false, length = 32)
	public String getDataType() {
		return dataType;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	
	@Column(name = "data_show_type", nullable = false, length = 64)
	public String getDataShowType() {
		return dataShowType;
	}
	public void setDataShowType(String dataShowType) {
		this.dataShowType = dataShowType;
	}
	
	@Column(name = "data_show_name", nullable = false, length = 64)
	public String getDataShowName() {
		return dataShowName;
	}
	public void setDataShowName(String dataShowName) {
		this.dataShowName = dataShowName;
	}
	
	@Column(name = "data_value", nullable = false, length = 32)
	public String getDataValue() {
		return dataValue;
	}
	public void setDataValue(String dataValue) {
		this.dataValue = dataValue;
	}
	
	@Column(name = "mark", nullable = false, length = 200)
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
}
